package com.imooc.mapper;

import com.imooc.my.mapper.MyMapper;
import com.imooc.pojo.Category;
import com.imooc.pojo.vo.CategoryVO;
import com.imooc.pojo.vo.NewItemsVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface CategoryMapperCustom{

    public List<CategoryVO> getSubCatList(Integer rootCatId);

    /**
     * @author cg.hu
     * @version 2.6
     * @date 2021/1/25 11:28
     * @description    获取一级分类下的最新六个商品信息
     **/
    public List<NewItemsVO> getSixNewItemsLazy(@Param("paramsMap") Map<String, Object> map);
}